home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / srscl.z / srscl
Encoding:
Text File  |  2002-10-03  |  2.3 KB  |  67 lines

  1.  
  2.  
  3.  
  4. SSSSRRRRSSSSCCCCLLLL((((3333SSSS))))                                                            SSSSRRRRSSSSCCCCLLLL((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      SRSCL - multiplie an n-element real vector x by the real scalar 1/a
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      SUBROUTINE SRSCL( N, SA, SX, INCX )
  13.  
  14.          INTEGER       INCX, N
  15.  
  16.          REAL          SA
  17.  
  18.          REAL          SX( * )
  19.  
  20. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  21.      These routines are part of the SCSL Scientific Library and can be loaded
  22.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  23.      directs the linker to use the multi-processor version of the library.
  24.  
  25.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  26.      4 bytes (32 bits). Another version of SCSL is available in which integers
  27.      are 8 bytes (64 bits).  This version allows the user access to larger
  28.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  29.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  30.      only one of the two versions; 4-byte integer and 8-byte integer library
  31.      calls cannot be mixed.
  32.  
  33. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  34.      SRSCL multiplies an n-element real vector x by the real scalar 1/a. This
  35.      is done without overflow or underflow as long as
  36.      the final result x/a does not overflow or underflow.
  37.  
  38.  
  39. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  40.      N       (input) INTEGER
  41.              The number of components of the vector x.
  42.  
  43.      SA      (input) REAL
  44.              The scalar a which is used to divide each component of x.  SA
  45.              must be >= 0, or the subroutine will divide by zero.
  46.  
  47.      SX      (input/output) REAL array, dimension
  48.              (1+(N-1)*abs(INCX)) The n-element vector x.
  49.  
  50.      INCX    (input) INTEGER
  51.              The increment between successive values of the vector SX.  > 0:
  52.              SX(1) = X(1) and SX(1+(i-1)*INCX) = x(i),     1< i<= n
  53.  
  54. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  55.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  56.  
  57.      This man page is available only online.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.